import VueRouter from 'vue-router'
import tj from '../../components/tj.vue'
import login from '../../components/login.vue'
import type from '../../components/type.vue'
import fq from '../../components/fq.vue'
import al from '../../components/al.vue'
import qc from '../../components/qc.vue'
import kq from '../../components/kq.vue'
// import recomend from '../../components/recomend.vue'
// import woman from '../../components/woman.vue'
// import man from '../../components/man.vue'
import details from '../../components/details.vue'
import product from '../../components/product.vue'
import checkout from '../../components/checkout.vue'
export default new VueRouter({
    routes:[
        {
            path:'/',
            // redirect:"/tj"
            component:tj
        },
        {
            path:'/tj',
            redirect:"/"
        }, 
        {
            path:'/login',
            component:login
        },
        {
            path:'/type',
            component:type
        },
        {
            path:'/fq',
            component:fq
        },
        {
            path:'/kq',
            component:kq
        },
        {
            path:'/qc',
            component:qc
        },
        {
            path:'/al',
            component:al
        },
        // {
        //     path:'/recomend',
        //     component:recomend
        // },
        // {
        //     path:'/woman',
        //     component:woman
        // },
        // {
        //     path:'/man',
        //     component:man
        // },
        // {
        //     path:'/sh',
        //     component:sh
        // },
        {
            path:'/details/:pa',
            component:details
        },
        {
            path:'/product',
            component:product
        },
        {
            path:'/checkout',
            component:checkout         
        },
        {
            path:'/*',
            redirect:"/tj"
        }

    ]
})